home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Mousetools / ClickUpFront / README < prev    next >
Text File  |  1996-09-26  |  3KB  |  63 lines

  1. OK, here's a little program called ClickUpFront, which is my addition to the
  2. ClickToFront-type utilities.  ClickUpFront installs an input handler that
  3. brings windows (and screens) to the front when you double click in them.
  4.  
  5. To install the handler, just type:
  6.  
  7.     1> ClickUpFront
  8.  
  9. It should tell you that it has installed the handler.  You don't have to
  10. RUN ClickUpFront, because it sets up the handler and then exits, leaving only 
  11. the input handler in memory.  The handler itself only takes up less than 900
  12. bytes when it is installed, so you shouldn't have to worry about using lots 
  13. of memory. 
  14.  
  15. Once ClickUpFront is installed and you double click in a window, that window
  16. will be brought to the front of all the other windows (unless it is a backdrop
  17. window).  If the window is on a screen that is not the front-most screen,
  18. then that screen is brought to the front of all the other screens as well.
  19. You can set the double-click time with the Preferences tool.  Be careful that
  20. you don't move the mouse between clicks as this will cause ClickUpFront to
  21. ignore the double-click.
  22.  
  23. To remove the input handler, simply call ClickUpFront a second time. 
  24. ClickUpFront creates a public, named message-port that it uses to hold the
  25. information it needs in order to remove the handler that it installed.  See
  26. the code for details of how this works.
  27.  
  28. Note that ClickUpFront does not remove mouse click events from the input
  29. stream even when they form a double-click that moves a window to the front. 
  30. If you want to be able to send a double-click to a window WITHOUT having it
  31. come to the front, simply hold down one of the shift keys while you click
  32. in the window.  ClickUpFront will ignore double-clicks when a shift key is
  33. pressed.  If you want to use some other qualifier key instead of the shift
  34. keys, you can specify a qualifier-key mask on the commaand line:
  35.  
  36.     1> ClickUpFront 0x0008
  37.  
  38. would specify the CTRL key instead of the shift keys.  See the include file
  39. exec/inputevent.h for the hex values for the other qualifier keys.
  40.  
  41.  
  42. To install ClickUpFront on your disk, simply unshar and uudecode the 
  43. executables.  Put ClickUpFront in the C: directory and put Click-Handler in the
  44. L: directory (or the current directory).
  45.  
  46. To compile and link ClickUpFront, type:
  47.  
  48.     1> LC -v ClickUpFront Click-Handler
  49.     1> ASM HandlerStub
  50.     1> BLINK WITH ClickUpFront.lnk
  51.     1> BLINK WITH Click-Handler.lnk
  52.  
  53. You can use the -b and -r options with ClickUpFront, but don't use them for
  54. Click-Handler.
  55.  
  56. Hope you enjoy this little program!
  57.  
  58. Davide P. Cervone
  59. University of Rochester Computing Center            dpvc@tut.cc.rochester.EDU
  60. Taylor Hall                                         dpvc@ur-tut.UUCP
  61. Rochester, New York  14627                          DPVC@UORDBV.BITNET
  62. (716) 275-2811
  63.